package com.woollen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woollen.model.Member;

public interface MemberService extends IService<Member> {
    /**
     * 用户注册
     */
    Integer register(Member member);

    /**
     * 用户登录
     */
    Member login(String phoneOrEmail, String password);

    /**
     * 后台管理员登录
     */
    Member adminLogin(String username, String password);
}
